package com.xwli.springcloud.service.impl;


import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.Callable;

@Slf4j
public class TestAsyncTaskTwo implements Callable<String> {

    @Override
    public String call() throws Exception {
        log.info("方法二:睡眠5s");
        Thread.sleep(5000);
        return "testTwo-成功";
    }
}
